UIViewFactory Class Reference
[Version 4.0]

Default view factory. More...

Inheritance diagram for UIViewFactory:
Inheritance graph
[legend]
Collaboration diagram for UIViewFactory:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 UIViewFactory ()
 ~UIViewFactory ()
CViewcreateView (const UIAttributes &attributes, IUIDescription *description)
bool applyAttributeValues (CView *view, const UIAttributes &attributes, IUIDescription *desc) const
IdStringPtr getViewName (CView *view) const
bool applyCustomViewAttributeValues (CView *customView, IdStringPtr baseViewName, const UIAttributes &attributes, IUIDescription *desc) const
Reference Counting Methods



virtual void forget ()
 decrease refcount and delete object if refcount == 0
virtual void remember ()
 increase refcount
virtual int32_t getNbReference () const
 get refcount
Message Methods



virtual CMessageResult notify (CBaseObject *sender, IdStringPtr message)

Static Public Member Functions

static void registerViewCreator (const IViewCreator &viewCreator)

Protected Member Functions

CViewcreateViewByName (const std::string *className, const UIAttributes &attributes, IUIDescription *description)

Detailed Description

Default view factory.


Constructor & Destructor Documentation

UIViewFactory (  ) 
~UIViewFactory (  ) 

Member Function Documentation

bool applyAttributeValues ( CView view,
const UIAttributes attributes,
IUIDescription desc 
) const [virtual]

Implements IViewFactory.

bool applyCustomViewAttributeValues ( CView customView,
IdStringPtr  baseViewName,
const UIAttributes attributes,
IUIDescription desc 
) const
CView * createView ( const UIAttributes attributes,
IUIDescription description 
) [virtual]

Implements IViewFactory.

CView * createViewByName ( const std::string *  className,
const UIAttributes attributes,
IUIDescription description 
) [protected]
virtual void forget (  )  [inline, virtual, inherited]

decrease refcount and delete object if refcount == 0

virtual int32_t getNbReference (  )  const [inline, virtual, inherited]

get refcount

IdStringPtr getViewName ( CView view  )  const
virtual CMessageResult notify ( CBaseObject sender,
IdStringPtr  message 
) [inline, virtual, inherited]
void registerViewCreator ( const IViewCreator viewCreator  )  [static]
virtual void remember (  )  [inline, virtual, inherited]

increase refcount


The documentation for this class was generated from the following files:

Generated on Fri Nov 22 11:10:00 2013 for VSTGUI by  doxygen 1.6.1